Skip to content
This repository has been archived by the owner on Feb 4, 2025. It is now read-only.

Direct lookup in ClosedList #140

Merged
merged 1 commit into from
Nov 12, 2024
Merged

Conversation

davidmorgan
Copy link
Contributor

The default list iterator uses operator[] so the previous implementation made the iterator performance quadratic in list length.

Was showing up in the resolveNames method iterating over Code instances.

@davidmorgan davidmorgan merged commit 2f6e859 into dart-archive:main Nov 12, 2024
51 checks passed
@davidmorgan davidmorgan deleted the list-lookup branch November 12, 2024 19:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants